package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 商户订单直接退款详情请求对象
 +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "MerchantOrderDirectRefundDetailRequest", description = "商户订单直接退款详情请求对象")
public class MerchantOrderDirectRefundDetailRequest {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单详情id", required = true)
    @NotNull(message = "订单详情id不能为空")
    private Integer orderDetailId;

    @ApiModelProperty(value = "退款数量", required = true)
    @NotNull(message = "退款数量不能为空")
    private Integer num;

}
